<template>
  <a-config-provider v-bind="getPopupContainer">
    <router-view></router-view>
  </a-config-provider>
</template>

<script lang="ts">
/**vue3 生命周期
   https://blog.csdn.net/weixin_39849287/article/details/111198219
**/

import "moment/dist/locale/zh-cn";
import { defineComponent } from "vue";
import zhCN from "ant-design-vue/es/locale/zh_CN";
export default defineComponent({
  name: "App",
  data() {
    return {
      getPopupContainer: {
        locale: zhCN,
      },
    };
  },
});
</script>

<style>
#app {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC,
    Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial,
    sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #333;
}
button {
  border-radius: 3px !important;
}
.danger {
  color: #cd201f;
}
.remark {
  font-size: 12px;
  color: #a8abb2;
}
</style>
